package edu.spec.student.service.impl;

import edu.spec.student.dao.iface.IStudentMentalDao;
import edu.spec.student.model.mental.StudentMental;
import edu.spec.student.service.iface.IStudentMentalService;
import org.springframework.stereotype.Service;

import javax.inject.Inject;
import java.util.List;

@Service
public class StudentMentalService implements IStudentMentalService {

    @Inject
    private IStudentMentalDao studentMentalDao;

    @Override
    public List<StudentMental> listStudentMentalByStudent(Integer studentId) {
        return studentMentalDao.listStudentMentalByStudent(studentId);
    }

}
